package com.example.demo.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Date:2022-11-04
 * Time:22:15
 *
 * @Author: 东莞呵呵
 */
@Mapper
public interface UserMapper {
    /***
     * 添加用户
     * @param userInfo
     * @return
     */
    int addUser(UserInfo userInfo);

    /***
     * 根据id查询用户信息
     * @param userInfo
     * @return
     */
    UserInfo selUserById(UserInfo userInfo);
}
